<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<c:choose>
    <c:when test="${param.select != null}">
        <stripes:options-collection collection="${calendars}" value="id" label="name" sort="${sort}" />
    </c:when>
    <c:otherwise>
        <c:forEach items="${calendars}" var="calendar">
            <li class="down">
                <span>
                    <a href="${pageContext.request.contextPath}/account/Calendar.action?cal.id=${calendar.id}">${calendar.name}</a>
                </span>
            </li>
        </c:forEach>
    </c:otherwise>
</c:choose>